-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rETH #31
base: master
Are you sure you want to change the base?
rETH #31
Conversation
@@ -950,7 +952,7 @@ contract SimulationTests is DSTest { | |||
lpDaiEthClip.take(auctionId, amt, max, cheAddr, data); | |||
} | |||
|
|||
function testTakeLpDaiEthNoProfit() public { | |||
function testTakeLpDaiEthNoProfit() private { // most LP tokens are getting offboarded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note that we have these tests replaced in a pending PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did a really great job of replacing these tests.
@talbaneth thank you for your review. I will be addressing it shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes ok, tests pass.
LGTM for deploying.
Don't forget to add the address to addresses.json
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I see The test is trying to take 3K reth at price of 970 reth/dai with greater than zero profit. Was still failing for 2K but succeeded at 1.5K reth. |
@julienmartinlevrai @godsflaw please check and approve to merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- contract deployed at mainnet address
0x7cdAb0fE16efb1EFE89e53B141347D7F299d6610
- contract code verified on Etherscan
- verified code matches the code of this PR
- addresses in constructor parameters correspond to the right contracts
- no libraries
- this contract does not use any type of auth
LGTM (I can’t approve my own PR though)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, tests pass.
Set to be merged after #30